Windows Server Automation with PowerShell Cookbook by Thomas Lee

Windows Server Automation with PowerShell Cookbook by Thomas Lee

Author:Thomas Lee
Language: eng
Format: epub
Tags: COM046050 - COMPUTERS / Operating Systems / Windows Server, COM088020 - COMPUTERS / System Administration / Windows Administration, COM088000 - COMPUTERS / System Administration / General
Publisher: Packt
Published: 2021-07-29T10:41:24+00:00


Getting ready

You run this recipe on DC1, but you need both DC1 and DC2 online. You have installed AD and DNS on both servers, and by doing so, you created a single forward lookup zone for the Reskit.Org forest.

How to do it...

Creating a new primary forward DNS zone for Cookham.Net $ZHT1 = @{ Name = 'Cookham.Net' ResponsiblePerson = 'dnsadmin.cookham.net.' ReplicationScope = 'Forest' ComputerName = 'DC1.Reskit.Org' } Add-DnsServerPrimaryZone @ZHT1

Creating a reverse lookup zone $ZHT2 = @{ NetworkID = '10.10.10.0/24' ResponsiblePerson = 'dnsadmin.reskit.org.' ReplicationScope = 'Forest' ComputerName = 'DC1.Reskit.Org' } Add-DnsServerPrimaryZone @ZHT2



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.